package org.jeecg.modules.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 持仓表
 * </p>
 *
 * @author zhanggm
 * @since 2023-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_posi")
public class Posi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 持仓ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Long uid;

    /**
     * 股票代码
     */
    private Integer code;

    /**
     * 成本
     */
    private Long cost;

    /**
     * 数量
     */
    private Long count;


}
